function im_result = show_points(im,points)
im_result = rgb2gray(im);
for i = 1:size(points,2)
    temp = points{1,i};
    im_result = drawlines([temp(1,1:2),temp(2,1:2)],im_result,[255,0,0]);
    im_result = drawlines([temp(1,1:2),temp(3,1:2)],im_result,[0,255,0]);
end